/* 容器样式 */
.container {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  /* max-width: 1200px; */
  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  color: #333;
}

/* 标题区域样式 */
.header {
  margin-bottom: 20px;
  text-align: center;
}

.title {
  font-size: 24px;
  font-weight: 600;
  margin-left: -1100px;
  color: #1a1a1a;
}

.subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
  margin-left: -1030px;
}

/* 导航栏样式 */
.navBar {
  margin-bottom: 20px;
}

.navList {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  margin-left: 100px;
  margin-top: -64px;
}

.navItem {
  padding: 7px 20px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 1px solid #ccc;
  border-radius: 20px;
  margin-left: 15px;
}

.navItem:hover {
  background: pink;
  transform: translateY(-2px);
}

/* 内容区域样式 */
.content {
  display: flex;
  gap: 20px;
}

.leftTemplate {
  flex: 2;
}

.rightTemplates {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 视频容器样式 */
.videoContainer {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  width: 900px;
  height: 600px;
  margin-left: 80px;
}

.videoContainer:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 视频播放器样式 */
.videoPlayer {
  width: 100%;
  height: auto;
  display: block;
  background-color: #000;
}

/* 大尺寸视频 */
.largeVideo {
  height: 460px;
}

/* 小尺寸视频 */
.rightTopTemplate .videoContainer,
.rightBottomTemplate .videoContainer {
  height: 200px;
  width: 400px;
  margin-left: 10px;
}

/* 视频信息样式 */
.templateInfo {
  margin-top: 10px;
  padding: 0 10px;
}

.templateInfo h3,
.templateInfo h4 {
  margin: 5px 0;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.templateInfo h3 {
  font-size: 18px;
  margin-left: 70px;
}

.templateInfo h4 {
  font-size: 16px;
}

/* 英文副标题样式 */
.englishSubtitle {
  font-size: 12px;
  color: #999;
  margin: 5px 0;
  font-style: italic;
}

/* 视频描述样式 */
.description {
  font-size: 12px;
  color: #666;
  margin: 5px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

}

/* 作品数量样式 */
.count1 {
  font-size: 12px;
  color: #666;
  display: block;
  margin-left: 870px;
  margin-top: -20px;
}

/* 作品数量样式 */
.count {
  font-size: 12px;
  color: #666;
  display: block;
  margin-left: 300px;
  margin-top: -20px;
}

/* 视频遮罩层样式 */
.videoOverlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.closeButton {
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.7);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

.videoContainer {
  position: relative;
  cursor: pointer;
}

.videoPlaceholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.playIcon {
  font-size: 2rem;
  color: white;
  opacity: 0.8;
}

.videoPlayer {
  width: 100%;
  height: 100%;
  object-fit: cover;
}